/**************************************************************************************
 *
 * @(#) BaseException.java
 * @Package com.jgdt.jgdtkasannong_university_gene_backend.common.err
 **************************************************************************************/
package com.jgdt.jgdtkasannong_university_gene_backend.common.example.custom;

/**
 * @description: 基类异常定义
 * @author: huangAn
 * @createDate: 2025/04/18
 */
public class BaseException extends Exception {
    private final String code;

    public BaseException(String code, String message) {
        super(message);
        this.code = code;
    }

    public String getCode() {
        return code;
    }
}



